home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
desktop
/
neotrash.arc
/
TRASHCAN.DOC
< prev
next >
Wrap
Text File
|
1990-01-09
|
19KB
|
391 lines
NeoDesk Recoverable Trashcan
by
Dan Wilga
Copyright © 1990 Gribnif Software, All Rights Reserved.
This item is "freeware". There is no charge to use it. It is the
property of Gribnif Software and may not be sold, traded, distributed, or
marketed by anyone else without the explicit written permission of Gribnif
Software.
Description
-----------
The NeoDesk Recoverable Trashcan is a special desk accessory which
hooks directly into NeoDesk 2.05 (or later). It adds to NeoDesk a brand
new trashcan which can restore any files that were deleted through it.
This "NeoDesk Accessory" is possible thanks to the new "NeoDesk
Developer's Kit" which lets you write your own new and exciting utilities
which can hook directly into NeoDesk. It can be used to call many of the
NeoDesk functions directly from your own accessories. Some additional
information about the "NeoDesk Developer's Kit" and "NeoDesk Accessories"
is available at the end of this file.
Files in this archive
---------------------
This archive should include the following files. If it does not you
are probably using a modified archive. We recommend you delete it and
attempt to get one which is complete.
1. TRASHCAN.ACC - The Recoverable Trashcan desk accessory.
2. TRASHCAN.RSC - The Recoverable Trashcan's resource file.
3. TRASHCAN.DOC - The documentation file you are reading now.
4. TRASHCAN.NIC - New icon for Recoverable Trashcan.
5. PATCH205.PRG - Program to patch earlier copies of NeoDesk 2.05.
6. NEO_ACC.INF - File that tells NeoDesk what "NeoDesk Accessories"
you are running.
Requirements
------------
To use the Recoverable Trashcan you need NeoDesk 2.05 (or later).
You can see what version you are running by looking under the "About
NeoDesk..." menu entry. If you are running a version older than 2.05 then
you will have to upgrade for the Recoverable Trashcan to work. You can
find more information on upgrading below.
Patching NeoDesk
----------------
Some earlier copies of NeoDesk 2.05 are only able to utilize one
"NeoDesk Accessory" at a time. This can easily be fixed by running the
included patch program. The patch program will not affect copies of
NeoDesk that have already been patched (and thus were fine to start with).
Just follow these simple instructions:
1. Make a backup of NeoDesk (just in case something goes wrong).
2. Run the PATCH205.PRG that was included with this archive.
3. Follow the on-screen instructions.
Technical types might be interested in knowing that the patch simply
consist of changing the data in the NEODESK.EXE file at offset 421E from
"0C46 000A 6C0E" to "5246 4E71 4E71", something that you can easily do
with our freeware MEMFILE editor accessory.
Installing it
-------------
To install the Recoverable Trashcan accessory copy the TRASHCAN.ACC
and TRASHCAN.RSC files to your boot disk. A boot disk is whatever disk
you normally utilize to turn on your computer. This could be a hard disk
or a floppy disk. Consult your NeoDesk manual if you have any questions.
You must also copy the included NEO_ACC.INF file to the same
directory where you store NeoDesk. This file tells NeoDesk the filename
of any "NeoDesk Accessories" which you might be running, in this case the
Recoverable Trashcan. If you already have a NEO_ACC.INF file then you
should edit it so that it has the trashcan accessory in it. The
NEO_ACC.INF file stores a list of all the "NeoDesk Accessories" that
NeoDesk should look for.
Once you have installed both the Recoverable Trashcan accessory and
the NEO_ACC.INF file you can then reboot your system and load NeoDesk.
Once loaded you can open a window to your boot disk and drag the
TRASHCAN.ACC file to your desktop. Make sure you place it in a convenient
place on the desktop, since the icon for the Recoverable Trashcan
accessory will now become your new trashcan. You should also make sure
you "Save Desktop" so that the icon will remain there every time you
reboot the system.
Custom Icon
-----------
Now you have to give the trashcan a new custom icon (so that it will
look like a trashcan and not like a desk accessory). You can either edit
your own or use the one we have included.
If you edit your own you must remember that the custom icons in the
icon editor are processed from left to right, top to bottom. What this
means is that if you want to create a custom icon for TRASHCAN.ACC you
must make sure that you place it before the "*.ACC" icon that is already
in there or your new TRASHCAN.ACC icon will be ignored. You can insert a
new icon by dragging the "New Icon" icon and releasing it over any of the
icons inside the icon editor windows.
If you wish to use the icon that we have included you must make sure
that you first create a new icon (before the "*.ACC" icon). Then load the
TRASHCAN.ACC icon from the enclosed TRASHCAN.NIC file. You can then copy
the loaded icon to the new icon you created. Make sure you delete the one
you loaded after you have copied it to the one you created.
Operation
---------
Use the Recoverable Trashcan just like the older standard trashcan.
Any items (files or folders) you drag to it will be deleted from your
windows. It works on hard disks, ram disks, and floppy disks. The big
difference is that these deleted items will still be available "inside"
the trashcan. You can access the trashcan contents by double-clicking on
the trashcan or opening its desk accessory entry under the "NeoDesk" menu.
You may also choose to remove the older trashcan (so you will not get
confused and delete something in the wrong trashcan) by selecting it and
choosing the "Remove" option under the "Install Desktop Icon..." menu
entry.
You CANNOT use this new trashcan to 'remove' desktop icons from your
desktop. That is still a feature of the original trashcan. The
Recoverable Trashcan will attempt to delete the actual item associated with
any icon you drag to it, regardless of whether it is a desktop icon or not.
You can still select any icon from the desktop and remove it using the
"Install Desktop Icon..." menu entry.
The contents of the trashcan are displayed in a special dialog box.
The drive buttons to the right indicate what drive you are presently
looking looking at. The scroll area to the left will list any deleted
items (files or folders) in that drive which can be recovered with the
Recoverable Trashcan. These items are sorted alphabetically by path and
name. Folders will be indicated by the standard "folder character" to the
left of any folder names.
If there are more items than fit in the scroll area you can use the
arrows in the vertical scroll bar to see them. In theory the Recoverable
Trashcan can handle an unlimited number of deleted items per drive. The
horizontal scroll bar lets you read any filenames which (due to their long
path) are too long to fit in the scroll area.
By clicking on the appropriate "d", "t", or "s" button you can change
the display to the right of an item's name to show that item's date, time,
or size.
If any items are displayed with a "gray field" over the filename that
signifies that the items' paths no longer exist. That means that when you
restore them, you will have to create the folders that they require. In
color, this "gray field" is displayed with as a "red field".
There is also an option, to the right, to turn on or off the
confirmation the trashcan gives every time you drag something to it. This
option is permanently saved in the TRASHCAN.RSC file whenever you change
it and then quit out of the trashcan.
You can select any item or group of items by using the mouse. Any
item you select will remain selected even if you scr